package com.lu.design.pattern.creational.builder.v2;

public class Test {

    public static void main(String[] args) {

        //玩转数据结构", "PPT", "课程视频", "课程笔记", "课程问答"
        Course course = new Course.CourseBuilder()
                .buildCourseName("玩转数据结构")
                .buildCoursePPT("PPT")
                .buildCourseVideo("课程视频")
                .buildCourseQA("课程笔记")
                //.buildCourseQA("课程问答")
                .build();

        System.out.println(course);


    }
}
